import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    transitionName:'',
    choosen:null,
	singleChatUser:null,
	currentChatMessage:null,
  },
  getters:{

  },
  mutations: {
    setTransitionName(state,name) {
      state.transitionName = name;
    },
    setChoosen(state,user) {
      state.choosen = user;
    },
	setSingleChatUser(state,user) {
		state.singleChatUser = user;
	}
  },
  actions: {

  },
  modules: {

  }
})
